package com.crm.service;

import com.crm.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.entity.UserRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author crm
 * @since 2020-06-05
 */
public interface RoleService extends IService<Role> {
    /**
     *
     * @param uid 用户的id
     * @return 该用户的全部信息
     */
    List<Role> GetRolesByUserIdLayUI(Integer uid);
    Integer removeUserFromRole(UserRole userrole);

}
